const domainName = getApp().globalData.domainName
const header = {'content-type':'application/x-www-form-urlencoded'}
const dataType = 'json'
const method = 'POST'
const responseType = 'text'
// pages/view_article/view_article.js
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    console.log('options',options)
    this.setData({
      article_title:options.article_title,
      article_url:options.article_url,
    })
  },


  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {
    return {
      title: this.data.article_title,
      imageUrl:'https://yqwl.top/app_images/logo_green_bg.jpg',
      path: '/pages/information/text_details/text_details?article_url=' + this.data.article_url,
    }
  }
})